package factory.method.abstractt.listfactory;

import factory.method.abstractt.factory.Link;

public class ListLink extends Link {

    public ListLink(String caption, String url) {
        super(caption, url);
    }

    @Override
    public String makeHtml() {
        return "<li><a>" + caption + "</a></li>\n";
    }
}
